The mpz object implements all the normal integer operations. (except xor) There are also some extra operators:
DESCRIPTION
This function converts an mpz to a string, int or float. This is
nessesary when you want to view, store or use the result of an mpz
calculation.